{include file="index/head" /}
<form method="post" action="{:url('delsbook')}" id="listform">
<div class="box">
    <div class="box-head">
      <h2>留言列表</h2>
      <a href="javascript:history.go(0);" class="btn fr"><i class="icon-refresh"></i> 刷新</a> </div>
    <table class="table">
      <tr>
        <th width="100">ID</th>
        <th>姓名</th>
        <th>性别</th>
        <th>身份证</th>
        <th>学历</th>
        <th>手机号码</th>
        <th>报考类型</th>
        <th>报考地区</th>
        <th>报考院校</th>
        <th>报考层次</th>
        <th>报考专业</th>
        <th>联系QQ</th>
        <th>所在地区</th>
        <th>详细地址</th>
        <th>报名时间</th>
        <th width="200">操作</th>
      </tr>
      {volist name="list" id="v"}
      <tr>
        <td><input type="checkbox" name="id[]" value="{$v.id}" />{$v.id}</td>
        <td>{$v.name}</td>
        <td>{$v.gender == 1 ? '男' : '女'}</td>
        <td>{$v.identity_card}</td>
        <td>{$v.education}</td>
        <td>{$v.phone}</td>
        <td>
          {switch v.type }
            {case 1 }自学考试{/case}
            {case 2}成人高考{/case}
            {case 3}网教教育{/case}
            {case 4}国开电大{/case}
            {default /}同等学力申硕
          {/switch}
        </td>
        <td>{$v.enroll_city}</td>
        <td>{$v.school}</td>
        <td>{$v.level}</td>
        <td>{$v.major}</td>
        <td>{$v.qq}</td>
        <td>{$v.city}</td>
        <td>{$v.address}</td>
        <td>{$v.create_time}</td>      
        <td>
        <a href="{:url('replaybook',['id'=>$v.id])}" style="display:none;" class="btn"><i class="icon-edit"></i> 回复</a>
        <a href="javascript:void(0);" onclick="sycms.del('{:url('delbook',['id'=>$v.id])}')" class="btn red"><i class="icon-trash-o"></i> 删除</a>
        </td>
      </tr>
      {/volist}
       <tr>
        <td colspan="16"><ul class="operat">
            <li class="li1"><input type="checkbox" onclick="sycms.allselect(this)" /> 全选</li>
            <li><a href="javascript:void(0);" onclick="sycms.delallSelect('{:url('delsbook')}')" class="btn red"><i class="icon-trash-o"></i> 批量删除</a></li>
          </ul></td>
      </tr>
      <tr>
        <td colspan="16"><div class="page">{$page}</div></td>
      </tr>
    </table>
</div>
</form>
